/* main.h

*/

#define RightDistSensor	  4		//PF4 - Bottom right pin
#define MiddleDistSensor  6	    //PF6 - Bottom middle pin 
#define LeftDistSensor	  5		//PF5 - Bottom Left pin 	
#define FrontLineSensor	  7		//PF7 - Bottom Far Left pin 

#define BOOL    char

#define RoomOneEnterHeading	  0x09	
#define RoomTwoEnterHeading	  0x8A	
#define RoomThreeEnterHeading	0x57	
#define RoomFourEnterHeading	0xD4

void RWallFollow(int TargetDistance,int TerminatingCondition,unsigned long TerminatingValue);
void LWallFollow(int TargetDistance,int TerminatingCondition,unsigned long TerminatingValue);
void Forward(int Speed,int TerminatingCondition,unsigned long TerminatingValue);

void ToRoom1(void);
void ToRoom2(void);
void ToRoom3(void);
void ToRoom4(void);

void HomeFrom1(void);
void HomeFrom2(void);
void HomeFrom3(void);
void HomeFrom4(void);

